package com.eas.biz.service.statistic.domain;

import java.util.LinkedList;
import java.util.List;

import com.eas.biz.service.exam.domain.Exam;

public class StudentSubjectStatistic {

    private long examId;

    private Exam examInfo;

    private long classId;

    private long studentId;

    private String subject;

    private List<TagStatistic> tagList;

    private List<QuestionTypeStatistic> questionTypeList;

    public StudentSubjectStatistic() {
        tagList = new LinkedList<TagStatistic>();
        questionTypeList = new LinkedList<QuestionTypeStatistic>();
    }

    public void addTagCount(TagStatistic tagCount) {
        if (tagCount != null) {
            tagList.add(tagCount);
        }
    }

    public void addQuestionTypeCount(QuestionTypeStatistic count) {
        if (count != null) {
            questionTypeList.add(count);
        }
    }

    public long getExamId() {
        return examId;
    }

    public void setExamId(long examId) {
        this.examId = examId;
    }

    public long getClassId() {
        return classId;
    }

    public void setClassId(long classId) {
        this.classId = classId;
    }

    public long getStudentId() {
        return studentId;
    }

    public void setStudentId(long studentId) {
        this.studentId = studentId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public List<TagStatistic> getTagList() {
        return tagList;
    }

    public void setTagList(List<TagStatistic> tagList) {
        this.tagList = tagList;
    }

    public List<QuestionTypeStatistic> getQuestionTypeList() {
        return questionTypeList;
    }

    public void setQuestionTypeList(List<QuestionTypeStatistic> questionTypeList) {
        this.questionTypeList = questionTypeList;
    }

    public Exam getExamInfo() {
        return examInfo;
    }

    public void setExamInfo(Exam examInfo) {
        this.examInfo = examInfo;
    }

}
